import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//引入 element ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

//引入 echarts
import * as echarts from 'echarts';
//将 echarts挂载到 vue
Vue.prototype.$echarts = echarts;

//引入小图标样式
import "./assets/fonts/iconfont.css";
import "./permission.js";
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
